﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HPPClientLibrary
{
    /// <summary>
    /// 向中央服务器搜索返回信息对应的类
    /// </summary>
    public class SearchResult
    {

        /// <summary>
        /// 文件名
        /// </summary>
        private string _fileName;

        /// <summary>
        /// 文件长度
        /// </summary>
        private long _fileLen;

        /// <summary>
        /// Hash
        /// </summary>
        private string _hash;

        /// <summary>
        /// 文件名
        /// </summary>
        public string FileName
        {
            get { return _fileName; }
            set { _fileName = value; }
        }

        /// <summary>
        /// 文件长度
        /// </summary>
        public long FileLen
        {
            get { return _fileLen; }
            set { _fileLen = value; }
        }

        /// <summary>
        /// Hash
        /// </summary>
        public string Hash
        {
            get { return _hash; }
            set { _hash = value; }
        }
    }
}
